﻿using ABCat.Core.Plugins.DataSets;
using SQLite.Net.Attributes;

namespace ABCat.Plugins.DataSources.AudioBooks
{
	[Table("HiddenRecord")]
	public class HiddenRecord : IHiddenRecord
	{
		[Indexed]
		public string RecordKey { get; set; }
		[Indexed]
		public string RecordGroupKey { get; set; }
	}

	[Table("HiddenValue")]
	public class HiddenValue : IHiddenValue
	{
		[PrimaryKey, AutoIncrement]
		public int ID { get; set; }
		[Indexed]
		public string Value { get; set; }
		[Indexed]
		public string PropertyName { get; set; }
		public bool IgnoreCase { get; set; }
		public bool WholeWord { get; set; }
	}
}